package com.zbl.vo;

import com.xuxueli.crawler.annotation.PageFieldSelect;
import com.xuxueli.crawler.annotation.PageSelect;
import com.xuxueli.crawler.conf.XxlCrawlerConf;
import lombok.Data;

/**
 * @Author: zhangjun
 * @Date: 2020/7/29 14:25
 * @Description:
 */
@Data
@PageSelect(cssQuery = "body")
public class NovelVo {

    @PageFieldSelect(cssQuery = "#main h1", selectType = XxlCrawlerConf.SelectType.TEXT)
    private String chapter;

    @PageFieldSelect(cssQuery = "#content", selectType = XxlCrawlerConf.SelectType.TEXT)
    private String content;

    @PageFieldSelect(cssQuery = ".papgbutton .nextpage", selectType = XxlCrawlerConf.SelectType.ATTR, selectVal = "abs:href")
    private String nextUrl;
}
